#include "SysCfgDataManage.h"
#include "SysConfigAccess.h"

SysCfgDataManage::SysCfgDataManage(QObject* parent)
	:DataManageInterface(parent)
	, m_sysConfigAccess(new SysConfigAccess())
{}

SysCfgDataManage::~SysCfgDataManage()
{
	delete m_sysConfigAccess;
}

std::optional<xiYan::Result> SysCfgDataManage::updateSysConfig(QString name)
{
	return m_sysConfigAccess->updateSysConfig(name);
}